home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
keyb
/
cedwars2.zip
/
CEDSYN.THD
< prev
next >
Wrap
Text File
|
1988-09-10
|
22KB
|
553 lines
@*
Public-domain CED and its commercial enhancement, PCED, provided many
opportunities for members to enhance the ease of use of their systems.
Messages from February and March feature examples of synonyms and prompts,
discussion of the parsing of variables in synonyms, ways to simulate the "echo
off" feature of batch files, and other goodies.
@* Message number range 227754-232623, plus some earlier (PCS-131) and 355
(PCS-72)
@* Date range mid-February through 19 March 1986
@* CDIR
Fm: dave rothman 70240,372
To: cd 76703,2002 (X)
this thought just hit me....
how about 'cdir nn' where nn is only files written w/in the last 'nn' days.
i just wrote a memo and its in a big \subdir and i know that i can just do the
directory and look at the last few dates (or the first few if i think to
reverse them), but 'dir 5' would be nifty and unique (plus u can do it on a dec
10 or 20...y not the pc?)!
@* SYNS
Fm: dave rothman 70240,372
To: cd 76703,2002 (X)
4 u 2 keep in mind...
u might wanna think about letting syn's running on 2 lines...ie:
syn junk 'b-on^cd\djkjd^123^sdhkj dhjsj^*jhsfh^jashj^chdsj
.. ^chkdsk^jieu^apl^del *.*^b-off'
i have plenty of long syns, and it would be handier if i could see them all
within 80 cols...dave
Fm: Chris Dunford (INF) 76703,2002
To: dave rothman 70240,372 (X)
Nice synonym. I particularly liked the automatic del *.*. You did leave out
'keyfake "y" 13^format c:', tho.
<Now, DON'T anybody try that to see what it does!>
Fm: Earle Robinson 70135,141
To: all
Someone said that the ced definitions recently uploaded for pced offered
nothing more than what the plain public domain ced has. Well, here are a
couple that you can't do with the latter, & are rather nice if you need to
remove lightning and sidekick from the keyboard. Superkey is already removable
with an entry from the command line, key/k.
ced syn sk '^*key^*light^*sk'
ced syn light '^*light^*sk'
ced syn skoff 'keyfake @119 @117^kick'
ced syn lightoff 'keyfake @119 @117 27 @47 @119 @117 ^kick'
Note, that the 'lightoff' will only remove lightning AFTER sidekick has been
removed. I have alt-v as the hot key for lightning; you will have to adjust
the '@47' in the synonym to accomodate what you may have.
Fm: dave rothman 70240,372
To: all
and another enhancement to the rothman ced,infoscope,keyfake rolodex system:
syn is 'cd\is^*is'
syn rolo 'keyfake "find %1" 13^is roloform'
now all i gotta do is type "rolo mantle" at the prompt and mickey mantle's
rolodex card comes to the fore.
the more i think about keyfake, the more impressed i am at with its usefulness!
it works so well w/PCED.
ps...rumor has it, dunford has included his own vers of it in the soon to be
released PCED (the beta vers did not have the dunford version).
Fm: dave rothman 70240,372
To: all
u guys may recall my little syn called 'load':
syn lo*ad 'cd\123^chmod -n %1.wks^fix %1tmp.prn...^
...keyfake "/fr%1" 13^123^chmod -h %1.wks^offstack'
(the dots are added so that the whole thing fits within 80 cols)
syn offstack 'keyfake @72 @118 27'
load lets me keep certain confidential .wks files hidden but easily loaded into
123. for example, i might type 'load balance' to unhide my personal balance
sheet, run 123, do a /fr w/keyfake, then hide it again when i exit.
the only prob, was that the original 'load' command was always resident in
the stack, so someone could hit some uparrows and see the names of the
hidden files (clearly anyone with any real knowledge would know how to find
them anyway, but thats not a concern in this case).
the solution is the 'offstack' syn. chris came up with it, and it's pretty
clever. all it does is when u exit 123, it hits an uparrow and then a ^pgdn
(which blows away that item), and finally an escape to clear the prompt
line....dave
Fm: Jim Butler 74766,1460
To: SysOp Chris Dunford 76703,2002
That does remind me of one seemingly recurring circumstance in the killing of
my syns (leaving poor ced whimpering but still alive). I have a couple of syns
to invoke wordstar2000 to edit my ced.syn file and my autoexec.bat file, then
copy the edited file to the "master file" I keep on the shelf. In other words,
ced.002 is my fully loaded tsr version, ced.dv is a stripped version for use
after desqview, ced.rb is an intermediate version I use with rbase sessions,
etc. So I edit the current ced.syn or autoexec.bat, but then copy the edited
version back to the master from which it came (clear?). Here are the syns;
syn edal ^c:^w c:\ced.syn^co c:\ced.syn c:\ced.002^newal^cls
syn eddo ^w c:\do.pro^cls
syn edex ^w c:\autoexec.bat^co c:\autoexec.bat c:\autoexec.002
hmmmm, I think I found *this* problem, but will share it with other users. I
was just going to give you my syn for "newal", but when I went to cut and
paste it here, I realized that I was using CED language instead of PCED
language. My old syn was:
syn newal ced clear syn^ced -fced.syn
Although I have not tested it yet, I have now changed it to:
syn newal ced clear syn^c:\ced load c:\ced.syn
.....but I do not think this is the only sequence that has killed my syns ....
@* EDITING CONFIGURATION FILE
Fm: dave rothman 70240,372
To: Steven Stern 70327,135
u might consider this approach which automatically reloads after u edit your
ced file:
syn ce 'pm c:\sys3\ced.cmd^newced' syn newced
'ced clear syn^ced load c:\sys3\ced.cmd'
Fm: Frank Markus 74415,1076
To: Steven Stern 70327,135
I use a different CED SYN to use KEDIT modify my CED configuration file which I
have renamed to CFG.CED. The two KEY commands first clear and then reset my
SuperKey environments. The PAL-KED and PAL-NORM are the names of other CED
SYNs that use KCSETPAL to set the colors for my EGA.
SYN CFG KEY 0 /ml^PAL-KED^C:\KEDIT\KEDIT CFG.CED^KEY DOS2 /ml^PAL-NORM
Stripped to it's essence, my SYN is:
SYN CFG C:\KEDIT\KEDIT CFG.CED
which is nothing if not very very simple. I use a SuperKey macro to reload
PCED with the new CFG.CED file so that I don't have to reboot. I am not sure
whether this can be done in regular CED. If it isn't you have still another
reason to get PCED. That macro is:
CED LOAD C:\UTIL\CFG.CED<ENTER> <ENDDEF>
Fm: dave rothman 70240,372
To: Frank Markus 74415,1076
i messed up the last time i uploaded this cuz i dorgot to
unformat it, but here's the way to accomplish what u described:
syn ce 'e c:\sys3\ced.cmd^newced'
syn newced 'ced clear syn^ced load c:\sys3\ced.cmd'
if u dont have pced, then u dont use 'load' but '-f'
Fm: Frank Markus 74415,1076
To: dave rothman 70240,372
Dave, your CED "newced" SYN inspired me to elaborate my "CFG" SYN and to
get rid of SuperKey in order to leave more room for KEDIT to work in. My new
"CFG" SYN uses KEDIT to work on my CFG.CED file and then clears and reloads the
SYN file used by CED by calling a new SYN called CEDLOAD.
SYN CEDLOAD CED CLEAR SYN^CED LOAD C:\UTIL\CFG.CED SYN CFG
PAL-KED^C:\KEDIT\KEDIT CFG.CED^PAL-NORM^CEDLOAD^CO
The syntax used by CEDLOAD is correct for PCED; with minor alteration, it works
with regular CED too.
I was rather amazed that CED can use its SYN file to destroy and then
regenerate itself. But it can. Far from the only amazing thing in CED or
PCED. But I will restrain myself until PCED is oficially released...RSN.
Fm: Dave Hoagland 72365,42
To: Frank Markus 74415,1076
Sure would be nice if you two had the necessary skills to work with standard
CED, so you could come up to our level and work without the additional crutches
provided by PCED. The unchallenging stuff you're doing gets pretty boring.
For those who can manage to work with standard CED, I offer the following
example (which has survived the test of several months of use).
syn cededit kedit ced.cfg^ced clear syn^ced -fced.syn
Super complex. Add your own paths and stir wel